#include "../include/SplitToolCppJieba.h"
#include <iostream>

using std::vector;
using std::string;



SplitToolCppJieba::SplitToolCppJieba()
:_jieba(DICT_PATH,HMM_PATH,USER_DICT_PATH,IDF_PATH,STOP_WORD_PATH)
{
}

vector<string> SplitToolCppJieba::cut(string& sentence){
    vector<string> words;
    _jieba.Cut(sentence, words, true);
    return words;
}